#include <GL/GL.h>
namespace tge{
	struct Point3F
	{
		double data[3];
	};


	struct PolyTriangle
	{
		int type;
		CArray<Point3F, Point3F> m_arrPoint;
	};


	class CPolygonTess
	{
	public:
		CPolygonTess(void);
		void Begin(int type);
		void Vertex(GLdouble * pVertex);
		void End();
	public:
		~CPolygonTess(void);

		static PolyTriangle * s_pCurPolyTriangle;
		CArray <PolyTriangle *> m_arrPolyTriangle;
	};
}